package com.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.bean.wd_purpose;
@Transactional
public interface PurposeService {
	int deleteByPrimaryKey(String purposeId);

    int insert(wd_purpose record);

    int insertSelective(wd_purpose record);

    wd_purpose selectByPrimaryKey(String purposeId);

    int updateByPrimaryKeySelective(wd_purpose record);

    int updateByPrimaryKey(wd_purpose record);
    
    List<wd_purpose> selectAll();
}
